<template>
  <div class="pagination">
    <el-pagination
      @current-change="parent.handleCurrentChange" layout="prev, pager, next"
      :total="parent.total"
      :page-size="parent.pageSize" :current-page="parent.page">
    </el-pagination>
  </div>
</template>

<script>
  export default {
  	data () {
  		return {
  			parent: this.$parent
      }
    }
  }
</script>
